//
//  AFExtensionDataConversion.h
//  TBNetworking_Example
//
//  Created by apple on 2018/8/8.
//  Copyright © 2018年 lzb. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NSObject+ZBModel.h"

@interface AFExtensionDataConversion : NSObject
/**
 模型转换为字典
 
 @param model 转化的模型类
 @return json
 */
+ (NSDictionary *)JSONDictionaryFromModel:(id)model;

/**
 字典转化为model
 
 @param dict
 @return model
 */
+ (id)modelFromJSONDictionary:(NSDictionary *)dict ToModelClass:(Class)modelClass;
@end
